<?php


namespace app\project\validate;


use think\Validate;

class ProjectUuid extends Validate
{
    protected $rule =   [
        'project_uuid'  => 'require|unique:project_uuid',
    ];

    protected $message  =   [
        'project_uuid.require' => '项目号必须',
        'project_uuid.unique'     => '项目号已经存在',

    ];
}